package palms.messages;

import javax.crypto.spec.SecretKeySpec;

public class TicketSL extends PMessage {

	
	private static final long serialVersionUID = 8143287383372541940L;
	
	private String siip;
	private long validity;
	private SecretKeySpec sessionkey;
	
	public TicketSL(String ip, long validity, SecretKeySpec sessionkey) {
		super();
		this.siip = ip;
		this.validity = validity;
		this.sessionkey = sessionkey;
	}
	public String getIp() {
		return siip;
	}
	public void setIp(String ip) {
		this.siip = ip;
	}
	public long getValidity() {
		return validity;
	}
	public void setValidity(long validity) {
		this.validity = validity;
	}
	public SecretKeySpec getSessionKey() {
		return sessionkey;
	}
	public void setSessionKey(SecretKeySpec sessionkey) {
		this.sessionkey = sessionkey;
	}
	
}
